package com.ruicar.afs.cloud.afscase.approvetask.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.approvetask.entity.WorkProcessScheduleInfoTemp;
import com.ruicar.afs.cloud.afscase.infomanagement.entity.CaseContractInfo;

/**
 * @Description
 * @Author Peng_Jinbo
 * @Date 2020/7/2 19:34
 */
public interface WorkProcessScheduleInfoTempService extends IService<WorkProcessScheduleInfoTemp> {

    boolean saveWithNewTransactional(WorkProcessScheduleInfoTemp temp);

    boolean removeWithNewTransactional(WorkProcessScheduleInfoTemp temp);

    /**
     * @Description 发起流程 创建流程实例
     * @Author yk.Li
     * @Date 2020/08/15
     */
    WorkProcessScheduleInfoTemp createWorkProcessor(CaseContractInfo contractInfo, String afsFlowKey);
}
